x86: move pv-only members of struct vcpu to struct pv_vcpu
authorJan Beulich <jbeulich@novell.com>
Tue, 5 Apr 2011 12:02:00 +0000 (13:02 +0100)
committerJan Beulich <jbeulich@novell.com>
Tue, 5 Apr 2011 12:02:00 +0000 (13:02 +0100)
commit6b063a4a6f44245a727aa04ef76408b2e00af9c7
treefd06cd209b596a7752d9f608e11026b6fc5807d0
parent9a70856bb28bb8c9b1d37fb8a005447ac77b0619
x86: move pv-only members of struct vcpu to struct pv_vcpu

... thus further shrinking overall size of struct arch_vcpu.

This has a minor effect on XEN_DOMCTL_{get,set}_ext_vcpucontext - for
HVM guests, some meaningless fields will no longer get stored or
retrieved: reads will now return zero, and writes are required to be
(mostly) zero (the same as was already done on x86-32).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
13 files changed:
xen/arch/x86/domain.c
xen/arch/x86/domctl.c
xen/arch/x86/mm.c
xen/arch/x86/physdev.c
xen/arch/x86/traps.c
xen/arch/x86/x86_32/asm-offsets.c
xen/arch/x86/x86_32/seg_fixup.c
xen/arch/x86/x86_32/traps.c
xen/arch/x86/x86_64/asm-offsets.c
xen/arch/x86/x86_64/compat/traps.c
xen/arch/x86/x86_64/traps.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/processor.h